﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Messhall.Framework.Domain.DomainObject
{
    public abstract class EntityBase
    {
        public Guid KeyId { get; private set; } = Guid.NewGuid();

        public bool IsDelete { get; set; }

        public void SetKeyId(Guid keyId)
        {
            this.KeyId = keyId;
        }

        public void SetIsDelete(bool delete)
        {
            this.IsDelete = delete;
        }
    }
}
